package com.ymatou.operate.trading.api.parameter;

import java.math.BigDecimal;

import com.ymt.base.BaseBean;
import com.ymttest.common.enums.AppTerminalSourceEnum;
import com.ymttest.common.enums.LogisticsTypeEnum;
import com.ymttest.common.enums.OrderSourceEnum;
import com.ymttest.common.enums.OrderTypeEnum;
import com.ymttest.common.enums.TerminalSourceEnum;

/**
 * 保存闪购app订单
 */
public class AppSaveOrderBean extends BaseBean {

    private static final long serialVersionUID = 1L;
    /**
     * 买家id
     */
    private int BuyerId;

    public final int getBuyerId() {
        return BuyerId;
    }

    public final void setBuyerId(int value) {
        BuyerId = value;
    }

    /**
     * 商品id
     */
    private String ProductId;

    public final String getProductId() {
        return ProductId;
    }

    public final void setProductId(String value) {
        ProductId = value;
    }

    /**
     * 商品图片地址
     */
    private String ProductPicUrl;

    public final String getProductPicUrl() {
        return ProductPicUrl;
    }

    public final void setProductPicUrl(String value) {
        ProductPicUrl = value;
    }

    /**
     * 商品规格id
     */
    private String CatalogId;

    public final String getCatalogId() {
        return CatalogId;
    }

    public final void setCatalogId(String value) {
        CatalogId = value;
    }

    /**
     * 商品规格
     */
    private String ProductCatalog;

    public final String getProductCatalog() {
        return ProductCatalog;
    }

    public final void setProductCatalog(String value) {
        ProductCatalog = value;
    }

    /**
     * 购买的商品数
     */
    private int ProductNum;

    public final int getProductNum() {
        return ProductNum;
    }

    public final void setProductNum(int value) {
        ProductNum = value;
    }

    /**
     * 商品名称
     */
    private String ProductName;

    public final String getProductName() {
        return ProductName;
    }

    public final void setProductName(String value) {
        ProductName = value;
    }

    /**
     * 用户收货地址id
     */
    private int AddressId;

    public final int getAddressId() {
        return AddressId;
    }

    public final void setAddressId(int value) {
        AddressId = value;
    }

    /**
     * 订单留言
     */
    private String LeaveWord;

    public final String getLeaveWord() {
        return LeaveWord;
    }

    public final void setLeaveWord(String value) {
        LeaveWord = value;
    }

    /**
     * 使用红包数量
     */
    private int UseGiftAmount;

    public final int getUseGiftAmount() {
        return UseGiftAmount;
    }

    public final void setUseGiftAmount(int value) {
        UseGiftAmount = value;
    }

    /**
     * 卖家用户id
     */
    private int SellerId;

    public final int getSellerId() {
        return SellerId;
    }

    public final void setSellerId(int value) {
        SellerId = value;
    }

    /**
     * 订单商品价格
     */
    private java.math.BigDecimal ProductPrice = new java.math.BigDecimal(0);

    public final java.math.BigDecimal getProductPrice() {
        return ProductPrice;
    }

    public final void setProductPrice(java.math.BigDecimal value) {
        ProductPrice = value;
    }

    /**
     * 物流类型
     */
    private LogisticsTypeEnum LogisticsType;

    public final LogisticsTypeEnum getLogisticsType() {
        return LogisticsType;
    }

    public final void setLogisticsType(LogisticsTypeEnum value) {
        LogisticsType = value;
    }

    /**
     * 是否使用优惠券
     */
    private boolean CouponAvail4OrderDeduct;

    public final boolean getCouponAvail4OrderDeduct() {
        return CouponAvail4OrderDeduct;
    }

    public final void setCouponAvail4OrderDeduct(boolean value) {
        CouponAvail4OrderDeduct = value;
    }

    /**
     * 是否免佣金
     */
    private boolean FeeFree;

    public final boolean getFeeFree() {
        return FeeFree;
    }

    public final void setFeeFree(boolean value) {
        FeeFree = value;
    }

    /**
     * 商品定金价格
     */
    private BigDecimal Earnest;

    public final BigDecimal getEarnest() {
        return Earnest;
    }

    public final void setEarnest(BigDecimal value) {
        Earnest = value;
    }

    /**
     * 是否使用红包
     */
    private boolean GiftAvail4OrderDeduct;

    public final boolean getGiftAvail4OrderDeduct() {
        return GiftAvail4OrderDeduct;
    }

    public final void setGiftAvail4OrderDeduct(boolean value) {
        GiftAvail4OrderDeduct = value;
    }

    /**
     * 是否返红包
     */
    private boolean GiftAvail4Reward;

    public final boolean getGiftAvail4Reward() {
        return GiftAvail4Reward;
    }

    public final void setGiftAvail4Reward(boolean value) {
        GiftAvail4Reward = value;
    }

    /**
     * 是否为V账户用户(v账户用户的概念已经不存在，此处仅做兼容使用 cpx 2014年5月27日)
     */
    private boolean Only4Vip;

    public final boolean getOnly4Vip() {
        return Only4Vip;
    }

    public final void setOnly4Vip(boolean value) {
        Only4Vip = value;
    }

    /**
     * 商品活动号
     */
    private int ActivityId;

    public final int getActivityId() {
        return ActivityId;
    }

    public final void setActivityId(int value) {
        ActivityId = value;
    }

    /**
     * 活动模板号
     */
    private int ActivityTemplateId;

    public final int getActivityTemplateId() {
        return ActivityTemplateId;
    }

    public final void setActivityTemplateId(int value) {
        ActivityTemplateId = value;
    }

    /**
     * 促销类型
     */
    private int PromotionType;

    public final int getPromotionType() {
        return PromotionType;
    }

    public final void setPromotionType(int value) {
        PromotionType = value;
    }

    /**
     * 促销金额
     */
    private java.math.BigDecimal Promotion = new java.math.BigDecimal(0);

    public final java.math.BigDecimal getPromotion() {
        return Promotion;
    }

    public final void setPromotion(java.math.BigDecimal value) {
        Promotion = value;
    }

    /**
     * 佣金比率
     */
    private java.math.BigDecimal CommissionRate = new java.math.BigDecimal(0);

    public final java.math.BigDecimal getCommissionRate() {
        return CommissionRate;
    }

    public final void setCommissionRate(java.math.BigDecimal value) {
        CommissionRate = value;
    }

    /**
     * 自动取消订单时间
     */
    private java.math.BigDecimal AutoCancelOrderMinutes = new java.math.BigDecimal(0);

    public final java.math.BigDecimal getAutoCancelOrderMinutes() {
        return AutoCancelOrderMinutes;
    }

    public final void setAutoCancelOrderMinutes(java.math.BigDecimal value) {
        AutoCancelOrderMinutes = value;
    }

    /**
     * 优惠券code
     */
    private String CouponCode;

    public final String getCouponCode() {
        return CouponCode;
    }

    public final void setCouponCode(String value) {
        CouponCode = value;
    }


    int CouponChannel;
    // 优惠券类型(1-抵扣现金 2-返红包)
    int CouponUseType;
    // 优惠券金额
    BigDecimal CouponValue;

    public int getCouponChannel() {
        return CouponChannel;
    }

    public void setCouponChannel(int couponChannel) {
        CouponChannel = couponChannel;
    }

    public int getCouponUseType() {
        return CouponUseType;
    }

    public void setCouponUseType(int couponUseType) {
        CouponUseType = couponUseType;
    }

    public BigDecimal getCouponValue() {
        return CouponValue;
    }

    public void setCouponValue(BigDecimal couponValue) {
        CouponValue = couponValue;
    }

    /**
     * 订单来源IP
     */
    private String SourceIP;

    public final String getSourceIP() {
        return SourceIP;
    }

    public final void setSourceIP(String value) {
        SourceIP = value;
    }

    /**
     * 订单类型
     */
    private OrderTypeEnum OrderType;

    public final OrderTypeEnum getOrderType() {
        return OrderType;
    }

    public final void setOrderType(OrderTypeEnum value) {
        OrderType = value;
    }

    /**
     * 订单来源
     */
    private OrderSourceEnum OrderSource;

    public final OrderSourceEnum getOrderSource() {
        return OrderSource;
    }

    public final void setOrderSource(OrderSourceEnum value) {
        OrderSource = value;
    }

    /**
     * 终端来源(PC,IOS,Android,WP)
     */
    private TerminalSourceEnum TerminalSource;

    public final TerminalSourceEnum getTerminalSource() {
        return TerminalSource;
    }

    public final void setTerminalSource(TerminalSourceEnum value) {
        TerminalSource = value;
    }

    /**
     * 应用终端来源(如：Pad、PC、Phone)
     */
    private AppTerminalSourceEnum AppTerminalSource;

    public final AppTerminalSourceEnum getAppTerminalSource() {
        return AppTerminalSource;
    }

    public final void setAppTerminalSource(AppTerminalSourceEnum value) {
        AppTerminalSource = value;
    }

}
